/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package idea.de.explorer;


import org.openide.nodes.AbstractNode;
import org.openide.nodes.Children;
import org.openide.util.NbBundle;
import static idea.de.explorer.Bundle.*;
import java.util.List;
import javax.swing.Action;
import org.openide.util.Utilities;

/**
 *
 * @author rejun001
 */
public class IDataElemsRootNode extends AbstractNode
{

    @NbBundle.Messages("CTRL_RootName=custom_response_de_view")
    public IDataElemsRootNode( Children children )
    {
        super( children );
        setDisplayName(CTRL_RootName());
    }
    
    @Override
    public Action[] getActions(boolean context) {
        List<? extends Action> actionsForCustomResponseDeView = Utilities.actionsForPath( "Actions/CustomResponseDeView");
        return actionsForCustomResponseDeView.toArray(new Action[actionsForCustomResponseDeView.size()]);
    }
}
